TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.
Gbp-Pq: Name Version_2_7_2pre31
-"Version_2_7_2pre30"
+"Version_2_7_2pre31"
void
close_pool(void) {
+ static int no_recur;
+
#ifndef NO_FILE_LOCKING
- if (pool!=-1) {
+ if (pool!=-1 && !no_recur) {
+ no_recur=1;
f.l_type=F_WRLCK;
if (!fcntl(pool,F_SETLK,&f))
massert(!unlink(gcl_pool) || errno==ENOENT);
register_pool(-1);
- massert(!close(pool));
massert(!munmap(Pool,sizeof(struct pool)));
+ massert(!close(pool));
pool=-1;
memset(gcl_pool,0,sizeof(gcl_pool));
+ no_recur=0;
}
#endif
}
}
+
+#else /*Unneeded on Hurd, cygwin/mingw via coff header flag*/
+
+void
+disable_aslr(int argc, char **argv, char **envp) {
+ return;
+}
+
#endif
#endif